PHP_ARG_ENABLE(loccache,
  [Whether to enable the "loccache" extension],
  [  --enable-loccache      Enable "loccache" extension support])

if test $PHP_LOCCACHE != "no"; then
  PHP_SUBST(LOCCACHE_SHARED_LIBADD)
  PHP_NEW_EXTENSION(loccache, loccache.c, $ext_shared)
fi